{{if $w3cDoctype == $smarty.const.DOC_TYPE_STRICT}}<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">{{elseif $w3cDoctype == $smarty.const.DOC_TYPE_LOOSE}}<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">{{/if}}
<html>
  <head>
    {{include file='gui/base.inc.tpl'}}
    <style>
      .body {
        padding: 3px 8px 0;
      }
      .base_mainBg {
        width: 100%;
        height: 100%;
      }
      .base_td1 {
        height: 30px;
        vertical-align: top;
      }
      .base_td2 {
        height: 700px;
      }
      .base_td3 {
        vertical-align: bottom;
      }
      .base_td4 {
        height: 100px;
        vertical-align: top;
      }
    </style>
  </head>
  
  <body class="body">
    <div align="center" class="base_td2">
      <table class="base_mainBg" cellPadding="0" cellSpacing="0">
        {{if $template != signin && $template != plastupdated}}
          <tr>
            <td class="base_td1" align="right">
              {{include file="gui/basetoolbar.tpl"}}
            </td>
          </tr>
        <tr>
          <td class="base_td4" align="center">
            {{include file="gui/basemenu.tpl"}}
          </td>
        </tr>
        {{/if}}
        <tr>
          <td class="base_td1" align="center">
              {{include file="gui/page/$template.tpl"}}
          </td>
        </tr>
        <tr>
          <td class="base_td3" align="center">
            {{include file="gui/basesubscript.tpl"}}
          </td>
        </tr>
      </table>
    </div>
  </body>
</html>